package com.lcredu.dao;

import com.lcredu.ThreadLocalTest;

/**
 * @author 黎长容
 * @date 2025-07-04 15:30
 */
public class T2DAO {
    public void update() {
        String name = Thread.currentThread().getName();
        Object object = ThreadLocalTest.threadLocal01.get();
        System.out.println("在 T2DAO 的 update() 线程是= " + name + "取出来一只dog" + object);
    }
}
